home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World Plus! (NZ) 2000 May
/
PCW_MAY2000.iso
/
pc world.dir
/
00001_Script_1
< prev
next >
Wrap
Text File
|
2000-04-04
|
1KB
|
59 lines
on exitFrame
-- brow = "??"
-- def = readreg("HKEY_LOCAL_MACHINE","Software\CLASSES\htmlfile\shell\opennew\command","")
-- def=string(def)
--
-- if def contains "explorer" then
-- brow = "internet explorer"
-- else
--
-- if def contains "netscape" then
-- brow = "netscape"
-- else
-- go "install"
-- end if
--
-- end if
set myHtml = the moviePath & "index.htm"
set res = FindApp (myHtml)
-- put res
set ff = res
if ff<>0 then
if GetFileAttribute(ff,0) = -1 then
leg = length(ff)
if char (leg-11) to leg of ff = "IEXPLO~1.EXE" then
ff = char 1 to (leg-12) of ff & "Iexplore.exe"
if GetFileAttribute(ff,0) = -1 then
go "install"
else
browsername (ff)
end if
else
go "install"
end if
end if
else
go "install"
end if
end